package com.trkj.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Timestamp;


/**
 * The persistent class for the DESKTOP_PATTERN database table.
 * 
 */
@Entity
@Table(name="DESKTOP_PATTERN")
@NamedQuery(name="DesktopPattern.findAll", query="SELECT d FROM DesktopPattern d")
public class DesktopPattern implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="DESKTOP_PATTERN_PATTERNID_GENERATOR", sequenceName="HR")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="DESKTOP_PATTERN_PATTERNID_GENERATOR")
	@Column(name="PATTERN_ID")
	private long patternId;

	@Column(name="ACQUISTION_ENDTIME")
	private Timestamp acquistionEndtime;

	@Column(name="ARTICLE_NUMBER")
	private BigDecimal articleNumber;

	@Column(name="PATTERN_NAME")
	private String patternName;

	public DesktopPattern() {
	}

	public long getPatternId() {
		return this.patternId;
	}

	public void setPatternId(long patternId) {
		this.patternId = patternId;
	}

	public Timestamp getAcquistionEndtime() {
		return this.acquistionEndtime;
	}

	public void setAcquistionEndtime(Timestamp acquistionEndtime) {
		this.acquistionEndtime = acquistionEndtime;
	}

	public BigDecimal getArticleNumber() {
		return this.articleNumber;
	}

	public void setArticleNumber(BigDecimal articleNumber) {
		this.articleNumber = articleNumber;
	}

	public String getPatternName() {
		return this.patternName;
	}

	public void setPatternName(String patternName) {
		this.patternName = patternName;
	}

}